//
//  ToyManager.swift
//  SevenAISDK
//
//  Created by 七块 on 2025/7/3.
//

import Foundation

public typealias ToyCallBackListener = (SevenBlockToyListener) -> Void

public class ToyManager {
    /// 设备控制回调
    var CallBackListener:ToyCallBackListener!

    public func setToyControlListener(listener:@escaping ToyCallBackListener){
        self.CallBackListener = listener
    }
    /// 设置设备信息
    /// - Parameter info: 设备信息
    public func setDeviceInfo(info:DeviceInfo){
        HandleDeviceInfo(info: info)
    }
    /// 设置设备状态
    /// - Parameter status: 状态
    public func setDeviceStatus(status:DeviceConnectStatus){
        HandleDeviceStatus(status: status)
    }
}
